﻿using Shumei.EFCore.Model;
using Shumei.EFCore.SimpleService;
using source.AttributeExtend;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace source.Areas.Admin.Controllers
{
    //[SuperLoginAuth(Roles ="3" )]
    public class HomeController : Controller
    {
        //
        // GET: /Admin/BackGround/
        public ActionResult Index()
        {
            return RedirectToAction("NewsList","News");
        }
        public ActionResult UploadVideo()
        {
            return View();
        }

        [HttpPost]
        [ValidateInput(false)]
        public ActionResult UploadCourse(Course course)
        {
            var c = course;
           
            return Json(true);
        }
	}
}